package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.JyjcAuditListMapper;
import com.ruoyi.system.domain.JyjcAuditList;
import com.ruoyi.system.service.IJyjcAuditListService;

/**
 * 报销分摊审核记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-07-16
 */
@Service
public class JyjcAuditListServiceImpl implements IJyjcAuditListService 
{
    @Autowired
    private JyjcAuditListMapper jyjcAuditListMapper;

    /**
     * 查询报销分摊审核记录
     * 
     * @param id 报销分摊审核记录主键
     * @return 报销分摊审核记录
     */
    @Override
    public JyjcAuditList selectJyjcAuditListById(Long id)
    {
        return jyjcAuditListMapper.selectJyjcAuditListById(id);
    }

    /**
     * 查询报销分摊审核记录列表
     * 
     * @param jyjcAuditList 报销分摊审核记录
     * @return 报销分摊审核记录
     */
    @Override
    public List<JyjcAuditList> selectJyjcAuditListList(JyjcAuditList jyjcAuditList)
    {
        return jyjcAuditListMapper.selectJyjcAuditListList(jyjcAuditList);
    }

    /**
     * 新增报销分摊审核记录
     * 
     * @param jyjcAuditList 报销分摊审核记录
     * @return 结果
     */
    @Override
    public int insertJyjcAuditList(JyjcAuditList jyjcAuditList)
    {
        return jyjcAuditListMapper.insertJyjcAuditList(jyjcAuditList);
    }

    /**
     * 修改报销分摊审核记录
     * 
     * @param jyjcAuditList 报销分摊审核记录
     * @return 结果
     */
    @Override
    public int updateJyjcAuditList(JyjcAuditList jyjcAuditList)
    {
        return jyjcAuditListMapper.updateJyjcAuditList(jyjcAuditList);
    }

    /**
     * 批量删除报销分摊审核记录
     * 
     * @param ids 需要删除的报销分摊审核记录主键
     * @return 结果
     */
    @Override
    public int deleteJyjcAuditListByIds(Long[] ids)
    {
        return jyjcAuditListMapper.deleteJyjcAuditListByIds(ids);
    }

    /**
     * 删除报销分摊审核记录信息
     * 
     * @param id 报销分摊审核记录主键
     * @return 结果
     */
    @Override
    public int deleteJyjcAuditListById(Long id)
    {
        return jyjcAuditListMapper.deleteJyjcAuditListById(id);
    }
}
